<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>{:lang('operation tip')}</title>
</head>
<style>
	*{margin: 0 auto;padding: 0;}
	.tranjump{background: url(__ROOT__/static/bj.jpg) no-repeat;width: 100%;height: 100%;}
	.rectangle_box{position: absolute;left: 50%;right: 50%;top: 50%;bottom: 50%;margin-left: -189.5px;margin-top: -77px;}
	.borderopely{width: 363px;height: 138px;border: 8px solid rgba(255,255,255,0.6);}
	.tipbox{width: 363px;height: 138px;background: white;text-align: center;}
	.welcople{color: #666666;font-size: 16px;padding-top: 18px;}
	.welcople .litps{background: url(__ROOT__/static/socp.png) no-repeat;width: 31px;height: 31px;display: inline-block;vertical-align: text-bottom;}
	.welcople .modifysu{background: url(__ROOT__/static/socp2.png) no-repeat;width: 34px;height: 37px;}
	.welcople .modifyfail{background: url(__ROOT__/static/socp3.png) no-repeat;width: 24px;height: 28px;}
	.ma-to-30{margin-top: 30px;}
	.ma-to-20{margin-top: 20px;}
	.ma-to-10{margin-top: 10px;}
	.cloblu{color: #3c8dbc;font-size: 16px;}
	.waittim{color: #666666;font-size: 16px;margin-left: 10px;}
	.ht-colblue{color: #3c8dbc;}
	a{text-decoration: none;}
	.waittim em{color: #3c8dbc;}
	em{font-style: normal;}
	.recigle{width: 379px;text-align: center;margin-top: 10px;}
	.recigle p{color: #333333;font-size: 16px;line-height: 20px;}
	.recigle .copyright{color: #3c8dbc;}
</style>
<body class="tranjump">
<div class="rectangle_box">
	<div class="borderopely">
		<?php if($code == 1) {?>
		<!--修改成功-s-->
		<div class="tipbox" style="">
			<div class="welcople">
				<i class="litps modifysu"></i><?php echo(strip_tags($msg)); ?>
			</div>
			<div class="ma-to-20">
				<span class="cloblu">{:lang('auto jumping...')}</span>
				<span class="waittim"><a id="href" href="<?php echo($url); ?>" style="color: #666666">{:lang('wait')}<em  id="wait"><?php echo($wait); ?></em></a></span>
			</div>
			<div class="ma-to-10">
				<!--<a href="/"  target="_parent" class="cloblu">网站前台</a>-->
				<a href="<?php echo($url); ?>" target="_parent" class="waittim ht-colblue">{:lang('jump now')}</a>
			</div>
		</div>
		<!--修改成功-e-->
		<?php }else{?>
		<!--修改失败-s-->
		<div class="tipbox" style="">
			<div class="welcople">
				<i class="litps modifyfail"></i><?php echo(strip_tags($msg)); ?>
			</div>
			<div class="ma-to-20">
				<span class="cloblu">{:lang('auto jumping...')}</span>
				<span class="waittim"><a id="href" href="<?php echo($url); ?>" style="color: #666666">{:lang('wait')}<em id="wait"><?php echo($wait); ?></em></a></span>
			</div>
			<div class="ma-to-10">
				<!--<a href="/"  target="_parent" class="cloblu">网站前台</a>-->
				<a href="<?php echo($url); ?>" target="_parent" class="waittim ht-colblue">{:lang('jump now')}</a>
			</div>
		</div>
		<!--修改失败-e-->
		<?php }?>
	</div>
</div>
<script type="text/javascript">
	(function(){
		var wait = document.getElementById('wait'),href = document.getElementById('href').href;
		var interval = setInterval(function(){
			var time = --wait.innerHTML;
			if(time <= 0) {
				location.href = href;
				clearInterval(interval);
			};
		}, 1000);
	})();
</script>
</body>
</html>